#-Desc: 主机工具集合 eg:sync hosts
#-Author: fxl0206


sync: #全局同步hosts #D=? //根域
	@${scriptsDir}/assertx.sh NotNull D ${D}
	@${scriptsDir}/assertx.sh xFile $(Inventory)
	${ansiblePlay} -i $(Inventory) --extra-vars "domain=${D}" $(roleHome)/play-book.yaml

tests: #测试-L
	pwd